package com.pyrsana.faith.retreat

import com.pyrsana.faith.membership.Profile

class Housing {

    static belongsTo = [retreat:Retreat]
    
    static hasMany = [residents:Profile]
    
    String name
    int capacity
    
    static constraints = {
        name (size:1..50)
        capacity (min:1, max:144)
    }
}
